<script src="{$skin_path}/js/jQuery.autoIMG.js"></script>
<script type="text/javascript">
<!--
jQuery(function ($) {
	$('.container p').autoIMG();
	$('.container').click(function () {
		window.open(this.getAttribute('data-href') || this.href);	
		return false;
	});
});
//-->
</script>